home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / futils / futils~1 / man / manpages.zoo / unexpand.1 < prev    next >
Encoding:
Text File  |  1991-11-11  |  1.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4. UNEXPAND(1L)                                         UNEXPAND(1L)
  5.  
  6.  
  7.  
  8. NAME
  9.      unexpand - convert spaces to tabs
  10.  
  11. SYNOPSIS
  12.      unexpand [-tab1[,tab2[,...]]] [-t tab1[,tab2[,...]]] [-a]
  13.      [+tabs=tab1[,tab2[,...]]] [+all] [file...]
  14.  
  15. DESCRIPTION
  16.      This manual page documents the GNU version of unexpand.
  17.      unexpand writes the contents of each given file, or the
  18.      standard input if none are given or when a file named `-' is
  19.      given, to the standard output, with strings of two or more
  20.      space or tab characters converted to as many tabs as possi-
  21.      ble followed by as many spaces as are needed.  By default,
  22.      unexpand converts only initial spaces and tabs (those that
  23.      precede all non space or tab characters) on each line.  It
  24.      preserves backspace characters in the output; they decrement
  25.      the column count for tab calculations.  By default, tabs are
  26.      set at every 8th column.
  27.  
  28.      OPTIONS
  29.  
  30.      -, -_✓t, +_✓t_✓a_✓b_✓s _✓t_✓a_✓b_✓1[,_✓t_✓a_✓b_✓2[,...]]
  31.           If only one tab stop is given, set the tabs _✓t_✓a_✓b_✓1 spaces
  32.           apart instead of the default 8.  Otherwise, set the
  33.           tabs at columns _✓t_✓a_✓b_✓1, _✓t_✓a_✓b_✓2, etc. (numbered from 0) and
  34.           leave spaces and tabs beyond the tabstops given
  35.           unchanged.  If the tabstops are specified with the -_✓t
  36.           or +_✓t_✓a_✓b_✓s option, they can be separated by blanks as
  37.           well as by commas.  This option implies the -_✓a option.
  38.  
  39.      -_✓a, +_✓a_✓l_✓l
  40.           Convert all strings of two or more spaces or tabs, not
  41.           just initial ones, to tabs.
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Page 1
  64.  
  65.  
  66.  
  67.